package chapter13;

/**
 * @author : DuJiabao
 * @Date : 2021/2/21 15:33
 * @Project : thinking-in-java
 * @File : null.java
 * @Desc :
 */
public class Hex {
  public static void main(String[] args) {
    StringBuilder s = new StringBuilder();
    for (int i = 0; i < 100; i++) {
      s.append(String.format("%02X ", i));
      if (i % 10 == 9) s.append("\n");
    }
    System.out.println(s.toString());
  }
}
